<!-- html -->
<template>
  <!-- 具名插槽 -->
  <slot name="title">
  </slot>
  <slot name="content">
  </slot>
</template>

<!-- js或ts -->
<script lang="ts">
export default {
  name: 'slotTest2Child'
}
</script>

<!-- js或ts -->
<script setup lang="ts">
</script>

<!-- 样式 -->
<style scoped></style>